import { defHttp } from '@/utils/http/axios';

enum Api {
  url = 'OperationLog/Page',
  deleteUrl = 'OperationLog',
  versionUrl = 'SysConfig/Version',
}

export function list(params) {
  return defHttp.get({ url: Api.url, params });
}
export function getVersion() {
  return defHttp.get({ url: Api.versionUrl });
}
export function deleteLog(data) {
  return defHttp.delete({ url: Api.deleteUrl, data });
}
